package com.vikutorika.vo;

import java.sql.Timestamp;
import java.util.Objects;

public class MessageVo {
    private Integer mid;
    private String type;
    private Integer gid;
    private Integer sender_uid;
    private Integer receiver_uid;
    private Timestamp creat_time;
    private String content;
    private String state;
    private String head_portrait;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public Integer getSender_uid() {
        return sender_uid;
    }

    public void setSender_uid(Integer sender_uid) {
        this.sender_uid = sender_uid;
    }

    public Integer getReceiver_uid() {
        return receiver_uid;
    }

    public void setReceiver_uid(Integer receiver_uid) {
        this.receiver_uid = receiver_uid;
    }

    public Timestamp getCreat_time() {
        return creat_time;
    }

    public void setCreat_time(Timestamp creat_time) {
        this.creat_time = creat_time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getHead_portrait() {
        return head_portrait;
    }

    public void setHead_portrait(String head_portrait) {
        this.head_portrait = head_portrait;
    }

    public MessageVo() {
    }

    public MessageVo(Integer mid, String type, Integer gid, Integer sender_uid, Integer receiver_uid, Timestamp creat_time, String content, String state, String head_portrait) {
        this.mid = mid;
        this.type = type;
        this.gid = gid;
        this.sender_uid = sender_uid;
        this.receiver_uid = receiver_uid;
        this.creat_time = creat_time;
        this.content = content;
        this.state = state;
        this.head_portrait = head_portrait;
    }
}
